// src/pages/Expression1.js
import React from 'react';

function Expression1() {
    const result = (500000 + ((600000 - 500000) * (450 - 400) / (500 - 400))) / 12 * (2 - 3);
    return <h2>表达式1结果: {result}</h2>;
}

export default Expression1;

// src/pages/Expression2.js
import React from 'react';

function Expression2() {
    const result = (400000 + (500000 - 400000) * (400 - 250) / (500 - 250)) / 12;
    return <h2>表达式2结果: {result}</h2>;
}

export default Expression2;

// src/pages/Expression3.js
import React from 'react';

function Expression3() {
    const result = (400000 + (500000 - 400000) * (0.4 - 0.4) / (0.2 - 0.4)) / 12;
    return <h2>表达式3结果: {result}</h2>;
}

export default Expression3;

// src/pages/Expression4.js
import React from 'react';

function Expression4() {
    const result = 3.83 + 3.33 + 0.63;
    return <h2>表达式4结果: {result}</h2>;
}

export default Expression4;

// src/pages/Expression5.js
import React from 'react';

function Expression5() {
    const result = 80000 * (150000 / 80000) / 12;
    return <h2>表达式5结果: {result}</h2>;
}

export default Expression5;

// src/pages/Expression6.js
import React from 'react';

function Expression6() {
    const result = (400000 + (500000 - 400000) * (-0.0875 - (-0.08)) / (-0.12 - (-0.08))) / 12 * (2 - 3);
    return <h2>表达式6结果: {result}</h2>;
}

export default Expression6;

// src/pages/404.js
import React from 'react';

function NoMatch() {
    return <h2>这个页面不存在</h2>;
}

export default NoMatch;
